package com.newly.center.business.compenont;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @anthor sbq
 * @date 2022/1/5 16:18
 */
@Component
public class InterfaceAddressConfig {




    public static String baseDomain;

    public static String url;

    @Value("${work.domain}")
    public void setBaseDomain(String baseDomain) {
        InterfaceAddressConfig.baseDomain = baseDomain;
    }

    @Value("${work.interface.url}")
    public void setDeviceStatus(String url) {
        InterfaceAddressConfig.url = url;
    }



}
